import java.util.ArrayList;
import java.util.HashMap;

public class birthday {
    public static void main(String[] args) {
        ArrayList<Integer> numbers = new ArrayList<>();

        numbers.add(2);
        numbers.add(4);
        numbers.add(5);
        numbers.add(23);

        HashMap<Integer, Integer> hashMap = new HashMap<>();

        int index = 1;
        for (int i = 0 ; i < numbers.size() ; i++) {
            for (int j = 0; j < numbers.size(); j++) {

                int res1 = 2*numbers.get(i)+numbers.get(j);
                int res2 = 2*numbers.get(j) + numbers.get(i);

                if ( res1 <= 31 || res2 <= 31 && res2 != res1) {
                    System.out.println(res1 + res2);
                }
            }
        }

        for (int i = 1; i <= hashMap.size(); i++) {
            System.out.println(hashMap.get(i));

        }
        System.out.println("LKX's birthday is 2000.01.31 ~ ");
        System.out.println("hhh");
    }
}
